package com.cesgroup.zw.spring.boot.library.echarts.graph.bubble;

import com.cesgroup.zw.spring.boot.echarts.build.EChartsOption;
import com.cesgroup.zw.spring.boot.echarts.component.Tooltip;
import com.cesgroup.zw.spring.boot.echarts.enums.Easing;

/**
 * @author ytj
 * @date 2019/7/5 10:11
 */
@SuppressWarnings("serial")
public class BubbleGraphOption extends EChartsOption{
    public BubbleGraphOption(BubbleGraphParam param){
        this.setBackgroundColor("#fff");
        this.setTooltip(new Tooltip());
        this.setAnimationDurationUpdate("function(idx) { return idx * 100; }");
        this.setAnimationEasingUpdate(Easing.bounceIn);
        this.setColor(new Object[]{"#fff","#fff","#fff"});
    }
}
